﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<TVXD23.Web.Models.ViewModel.UserInRoles>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Cấp quyền truy cập cho thành viên
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <form action="/Admin/AddRole" method="post">
    
    <input type="text" name="UserName" value="<%:Model.UserName %>" readonly="readonly"/>
    <select name="role" >
    
    <%for (int i = 0; i < Model.Roles.Count; i++)
      {%>
      <option  value="<%:Model.Roles[i] %>"><%:Model.Roles[i] %></option>
    <%
      }%>
      
    </select>
      <input type="submit" class="form-submit" />
    </form>

</asp:Content>
